<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets">
  
  <!-- This is the start (home) page of the application. It just displays
  a message. Not very exciting... improvement is possible. -->
  <h:head>
    <title>IGNORED</title>
  </h:head>
  <h:body>
    <ui:composition template="/templates/forel_layout.xhtml">
      <ui:define name="content">
          <h2>#{strings.kommentar_h1}</h2>
          <p>#{strings.kommentar_p1}</p>
          
          <h:form>
                <b>Modul:       </b> <br />
                <h:inputText id="modulNR" value="#{KommentarBean.modulNR}" /> <br /> 
                <br />
                <b>Kommentar: </b> <br />
                <h:inputText id="kommentar" value="#{KommentarBean.kommentar}" /> <br /> <br />
                <br />
                <h:commandButton value="Tilbake" action="innlev_moduler"></h:commandButton>
                <h:commandButton value="Kommenter" action="#{KommentarBean.lagre()}"></h:commandButton>
            </h:form>
          
      </ui:define>
    </ui:composition>
  </h:body>
</html>